<template>
	<view class="container">
		<view class="header common-header">{{channelName}}</view>
		<yxylMenu :menuList="menuList"></yxylMenu>
	</view>
</template>

<script>
	import yxylMenu from '@/components/yxyl-menu/yxyl-menu.vue';
	export default{
		components:{yxylMenu},
		data(){
			return{
				channelName:'',
				menuList:[]
			}
		},
		onLoad() {
			this.$http.request({
				url:'api/UcenterApi/GetChannelManagerCenter'
			}).then((res)=>{
				// #ifdef H5
				this.$wechat.hideMenu();
				// #endif
				this.channelName=res.channelName;
				this.menuList=res.ucenterItem;
			})
		}
	}
</script>

<style lang="scss" scoped>
	.header{
	
	}
</style>
